#ifndef ZOOMLABEL_H
#define ZOOMLABEL_H

#include <QLabel>
#include <QtGui>
class ZoomLabel : public QLabel
{
    Q_OBJECT
public:
    explicit ZoomLabel(QWidget *parent = 0);
public:
    void SetImage(QImage* image);
    void SetImage();
protected:
    void wheelEvent(QWheelEvent *);
    void mouseMoveEvent(QMouseEvent *ev);
    void leaveEvent(QEvent *);
signals:
    void wheelSignals(QWheelEvent*);
    void mouseMoveSignal(QMouseEvent *ev);
    void leaveSignal();

public slots:
    
};

#endif // ZOOMLABEL_H
